﻿using Face8280WebSocketServer.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Face8280WebSocketServer.Interface
{
    /// <summary>
    /// 人脸机记录服务
    /// </summary>
    public interface IRecordService : IBaseService
    {
        /// <summary>
        /// 新增一条记录
        /// </summary>
        /// <param name="record"></param>
        /// <returns></returns>
        bool AddRecord(DriveRecord record);
        /// <summary>
        /// 清空出入记录
        /// </summary>
        /// <returns></returns>
        void ClearRecord();
    }
}
